<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="单据日期">
                <el-date-picker
                        type="date"
                        v-model="form.GWDA004"
                        value-format="yyyy-MM-dd"
                        style="width: 100%">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="客户" prop="GWDA002">
                <el-input v-model="form.GWDA002" readonly clearable @clear="clearGwda002">
                    <i class="el-icon-search el-input__icon" @click="openGwak" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="客户名称">
                <el-input v-model="form.GWAKL004" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="类型" prop="GWDA006">
                <el-select v-model="form.GWDA006">
                    <el-option v-for="item in selectOptions.crm_gwdc001_gwda006" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="产品系列" prop="GWDA007_NAME">
                <el-input v-model="form.GWDA007_NAME" readonly clearable @clear="clearGwda007">
                    <i class="el-icon-search el-input__icon" @click="openGwao" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="品号" prop="GWDA003">
                <el-input v-model="form.GWDA003" @blur="changeGwda003" clearable @clear="clearGwda002">
                    <i class="el-icon-search el-input__icon" @click="openGwam" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="品名">
                <el-input v-model="form.GWAML003" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="规格">
                <el-input v-model="form.GWAML004" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="纳入年度指标">
                <el-select v-model="form.GWDA005" clearable>
                    <el-option v-for="item in selectOptions.sys" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="有效码">
                <el-select v-model="form.GWDAACTI" clearable>
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwdc001_edit"], $.noop);
</script>
